<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page errorPage="errorPage.jsp" %>
<c:if test="${empty resultTitle or empty resultContent}">
    <c:redirect url="index.jsp" />
</c:if>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="ISO-8859-1">
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/template.css">
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/header.css">
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/footer.css">
		<title><c:out value="${resultTitle}" /></title>
	</head>
	
	<body>
		<div id="body">
			<%@ include file="header.jsp" %>
		
			<%@ include file="menu.jsp" %>
			
			<div id="title">
				<c:out value="${resultTitle}" />
			</div>
			
			<div id="content">
				<c:out value="${resultContent}" />
			</div>
			
			<%@ include file="footer.jsp" %>
		</div>
	</body>
</html>